#ifndef ITEMHEALTH_H
#define ITEMHEALTH_H

#include "ItemEntity.h"
#include "PlayerEntity.h"

class ItemHealth : public ItemEntity
{
    public:
        ItemHealth();
        virtual Entity* clone();
        virtual void onUse(PlayerEntity*);
        virtual ~ItemHealth();

        ItemHealth* setHealthRegen(int);
        ItemHealth* setAsPercent(bool);
    protected:
};

struct ItemHealthData : public ItemEntityData
{
    int healthRegen;
    bool asPercent;
};

#endif // ITEMHEALTH_H
